// config/menu.ts
import { MenuConfig } from '@/types/menu'

export const menuConfig: MenuConfig[] = [
  {
    id: 'dashboard',
    name: '平台概览',
    icon: 'DataAnalysis',
    path: '/dashboard',
    children: [
      {
        id: 'system-monitor',
        name: '系统监控大屏',
        path: '/dashboard/system-monitor'
      },
      {
        id: 'operation-data',
        name: '运营数据看板',
        path: '/dashboard/operation-data'
      },
      {
        id: 'service-status',
        name: '服务状态监控',
        path: '/dashboard/service-status'
      }
    ]
  },
  {
    id: 'tenant',
    name: '租户管理',
    icon: 'OfficeBuilding',
    path: '/tenant',
    children: [
      {
        id: 'organization',
        name: '组织管理',
        path: '/tenant/organization'
      },
      {
        id: 'user',
        name: '用户管理',
        path: '/tenant/user'
      },
      {
        id: 'package',
        name: '套餐管理',
        path: '/tenant/package'
      },
      {
        id: 'billing',
        name: '租户账单',
        path: '/tenant/billing'
      }
    ]
  },
  {
    id: 'finance',
    name: '财务管理',
    icon: 'Money',
    path: '/finance',
    children: [
      {
        id: 'income',
        name: '平台收入管理',
        path: '/finance/income'
      },
      {
        id: 'cost',
        name: '费用配置',
        path: '/finance/cost'
      },
      {
        id: 'report',
        name: '财务报表',
        path: '/finance/report'
      }
    ]
  },
  {
    id: 'system',
    name: '系统运维',
    icon: 'Monitor',
    path: '/system',
    children: [
      {
        id: 'monitor',
        name: '服务监控',
        path: '/system/monitor'
      },
      {
        id: 'log',
        name: '日志管理',
        path: '/system/log'
      },
      {
        id: 'data',
        name: '数据管理',
        path: '/system/data'
      },
      {
        id: 'performance',
        name: '性能优化',
        path: '/system/performance'
      }
    ]
  },
  {
    id: 'support',
    name: '运营支持',
    icon: 'Phone',
    path: '/support',
    children: [
      {
        id: 'ticket',
        name: '工单管理',
        path: '/support/ticket'
      },
      {
        id: 'announcement',
        name: '公告管理',
        path: '/support/announcement'
      },
      {
        id: 'knowledge',
        name: '知识库',
        path: '/support/knowledge'
      },
      {
        id: 'customer',
        name: '客户支持',
        path: '/support/customer'
      }
    ]
  },
  {
    id: 'security',
    name: '安全管理',
    icon: 'Management',
    path: '/security',
    children: [
      {
        id: 'permission',
        name: '权限管理',
        path: '/security/permission'
      },
      {
        id: 'monitor',
        name: '安全监控',
        path: '/security/monitor'
      },
      {
        id: 'compliance',
        name: '合规管理',
        path: '/security/compliance'
      }
    ]
  }
]